Removing DOS characters from Linux

Wow….I’ve found about two dozen methods that purport to do this, but, this is the only one I’ve found that actually worked – working is a good thing: tr -d ‘\r’ < httpd-vhosts.conf > new.txt